package com.colabo.j2ee.web.core.context;

import java.util.HashMap;
import java.util.Map;

/**
 * Data holder in context Should be set in the spring config file
 * 
 * @author Anthony Do
 * @since 2009-12-23
 * 
 */
public class ContextBeanHolder {

	private Map<String, Object> contexts = new HashMap<String, Object>();

	public Object get(String key) {
		return contexts.get(key);
	}

	public void put(String key, Object value) {
		contexts.put(key, value);
	}

	public void clear() {
		contexts.clear();
	}

}
